@import './variables.module';

.mg-auto {
  margin: auto;
}
/*css为clearfix，清除浮动*/
.clearfix {
  &::after {
    display: block;
    clear: both;
    content: '';
  }
}
/*单行溢出*/
.one-txt-cut {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/*多行溢出 手机端使用*/
.txt-cut {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}
.bold {
  font-weight: bold;
}
.pull-left {
  float: left;
}
.pull-right {
  float: right;
}
.whole-row {
  width: 100%;
}
.flex-1 {
  flex: 1;
}
.df {
  display: flex;
}
.dib {
  display: inline-block;
}
.btn-nostyle {
  font-size: 14px;
  text-align: left;
  height: auto;
  line-height:normal;
  border: none;
  outline: none;
  overflow: inherit;
  background-color: transparent;
  &::before {
    content: '';
    display: none;
  }
  &.am-button.am-button-active {
    background-color: transparent !important;
  }
}
.whole-height {
  height: 100% !important;
}
.hidden {
  visibility: hidden;
}
.bg-white {
  background-color: white;
}